
  <script>
    //var pathpdf = '<?= PUBLIC_FILE_SHOW . $quotation["Quotation"]["files"] ?>';
    var pathpdf = '<?= $this->webroot ."quotations/test/?file=" . $quotation["Quotation"]["files"] ?>';
    //alert(pathpdf);
  </script>

<?php
$homepage = file_get_contents( PUBLIC_FILE_SHOW . $quotation['Quotation']['files']);
//echo $homepage;

?>

<!-- Begin Sidebar Left -->
<?php echo $this->element('user/sidebar-left');?>
<!-- End Sidebar Left -->

<!-- Begin Content right -->
<div class="col-md-9 right">
<div class="panel panel-fix">
	<div class="panel-heading"> <h3 class="panel-title"><span class="glyphicon glyphicon-fire"></span> Báo giá</h3> </div>
	<div class="panel-body " style="min-height: 600px;"> <!-- panel-bod -->
		<?= $quotation[$als]['content']; ?>

		<?php if(!empty($quotation[$als]['files'])):?>
		<div class="mt20 clearfix">

			<?php echo $this->element('pdf/main');?>

		</div>
		<?php endif; ?>
	</div>
</div>
</div>